package com.hhxy.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ghp
 * @date 2023/5/7
 * @title
 * @description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户密码数传输对象")
public class UserPasswordDto {
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "用户id", required = true)
    @NotNull
    private Long id;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = true)
    @NotBlank
    private String password;


}
